gtk4.git
10 years agoAdwaita: use a green (Tango Chameleon 3) for drag hilight
Lapo Calamandrei [Mon, 14 Mar 2016 17:46:56 +0000 (18:46 +0100)]
Adwaita: use a green (Tango Chameleon 3) for drag hilight

10 years agoAdwaita: placessidebar dnd fixes
Lapo Calamandrei [Mon, 14 Mar 2016 17:33:40 +0000 (18:33 +0100)]
Adwaita: placessidebar dnd fixes

10 years agoGDK W32: Fix shown window position calculation for dialogs and splashes
Руслан Ижбулатов [Mon, 14 Mar 2016 16:14:22 +0000 (16:14 +0000)]
GDK W32: Fix shown window position calculation for dialogs and splashes

Two errors here:
1) A typo in splashscreen rectangle calculation - sets right twice
   instead of setting top
2) Centering for dialogs is off because it doesn't convert
   GDK virtual desktop coordinates to Windows WM virtual desktop
   coordinates by adding _gdk_offset_*

https://bugzilla.gnome.org/show_bug.cgi?id=763628

10 years agoAdwaita: places sidebar selected button fix and refactor
Lapo Calamandrei [Mon, 14 Mar 2016 16:22:31 +0000 (17:22 +0100)]
Adwaita: places sidebar selected button fix and refactor

10 years agogdkdnd: Add private means to commit the drag status
Carlos Garnacho [Wed, 9 Mar 2016 16:00:31 +0000 (17:00 +0100)]
gdkdnd: Add private means to commit the drag status

The way gdk_drag_status() may be called multiple times during the
processing of drag and drop events throughout the widget hierarchy
brings some superfluous messaging going in, esp. when it's the last
request the one we want to honor, yet we emit messaging requests on
all.

This is barely appreciable in the X11 backend, but due to the design
of the wayland protocol, quick series of changes like this it have
some self-amplificating consequences which may end up flooding the
connection.

We can delegate this to a late "commit" call, performed within GDK
event management. This way gdk_drag_status() calls may be cached
and only result in windowing messaging once per ::drag-motion or
::drag-data-received event. Emitting the final status will also
avoid spurious action changes on the compositor and the other peer.

https://bugzilla.gnome.org/show_bug.cgi?id=763298

10 years agoGtkNotebook: Make tab DnD use application/x-rootwindow-drop again
Carlos Garnacho [Wed, 9 Mar 2016 16:43:18 +0000 (17:43 +0100)]
GtkNotebook: Make tab DnD use application/x-rootwindow-drop again

Besides the ::drag-failed handling in order to trigger the window creation
hook, add some handling of the application/x-rootwindow-drop mimetype, so
the same effect is achieved if the tab could be dropped in a destination
accepting this mimetype.

https://bugzilla.gnome.org/show_bug.cgi?id=763387

10 years agoGtkWindow: Make it an application/x-rootwindow-drop destination
Carlos Garnacho [Wed, 9 Mar 2016 16:37:27 +0000 (17:37 +0100)]
GtkWindow: Make it an application/x-rootwindow-drop destination

This makes toplevels pseudo-transparent wrt this mimetype, so if
the drag source offers this mimetype and not another that was
managed by the destination-side widget hierarchy, the window will
be an acceptable target for this mimetype, allowing it to trigger
whatever is meant to in the source side.

https://bugzilla.gnome.org/show_bug.cgi?id=763387

10 years agoGDK W32: Fix pointer-under-window code for custom resize
Руслан Ижбулатов [Sat, 12 Mar 2016 12:55:24 +0000 (12:55 +0000)]
GDK W32: Fix pointer-under-window code for custom resize

This code:
>  gdk_window_get_root_origin (window, &x, &y);
>  x -= root_x;
>  y -= root_y;
>  pointer_window = gdk_device_get_window_at_position (device, &x, &y);
was meant to find the child gdk window at coordinates root_x and root_y.

These 4 lines had 2 bugs:
1) x = x - root_x (same for y) is wrong, it should be x = root_x - x
2) gdk_device_get_window_at_position() does not give you the window
   at position x and y. It gives you the window under the device
   (mouse pointer) and the returns the device coordinates in x and y.

https://bugzilla.gnome.org/show_bug.cgi?id=763533

10 years agoUpdated Japanese translation
Jiro Matsuzawa [Mon, 14 Mar 2016 14:42:48 +0000 (14:42 +0000)]
Updated Japanese translation

10 years agogtk-demo: Handle GDK_TOUCH_CANCEL in event-axes demo
Carlos Garnacho [Mon, 14 Mar 2016 14:28:20 +0000 (15:28 +0100)]
gtk-demo: Handle GDK_TOUCH_CANCEL in event-axes demo

It is a thing in wayland, which means we leave traces from older
touches when the compositor takes over touch sequences in order
to handle a gesture.

10 years agoUpdated Russian translation
Stas Solovey [Mon, 14 Mar 2016 12:24:40 +0000 (12:24 +0000)]
Updated Russian translation

10 years agoAdwaita: more scss refactoring
Lapo Calamandrei [Mon, 14 Mar 2016 09:53:59 +0000 (10:53 +0100)]
Adwaita: more scss refactoring

10 years agoAdwaita: refactor entry scss
Lapo Calamandrei [Mon, 14 Mar 2016 09:19:05 +0000 (10:19 +0100)]
Adwaita: refactor entry scss

10 years agoUpdated Hungarian translation
Balázs Meskó [Mon, 14 Mar 2016 07:57:26 +0000 (07:57 +0000)]
Updated Hungarian translation

10 years agopathbar: Style slider buttons
Matthias Clasen [Mon, 14 Mar 2016 03:08:47 +0000 (23:08 -0400)]
pathbar: Style slider buttons

Set a style class on the pathbar slider buttons, and have the
theme handle the separately from other image buttons.

10 years agopath bar: Stop mishandling slider buttons
Matthias Clasen [Mon, 14 Mar 2016 03:05:54 +0000 (23:05 -0400)]
path bar: Stop mishandling slider buttons

We must call get_preferred_width/height on the slider buttons
before allocating them, otherwise the layout machinery spews
warnings.

10 years agoUpdated Russian translation
Stas Solovey [Sun, 13 Mar 2016 21:04:56 +0000 (21:04 +0000)]
Updated Russian translation

10 years agoUpdated Lithuanian translation
Aurimas Černius [Sun, 13 Mar 2016 19:15:07 +0000 (21:15 +0200)]
Updated Lithuanian translation

10 years agoUpdated POTFILES.skip
Piotr Drąg [Sun, 13 Mar 2016 18:51:57 +0000 (19:51 +0100)]
Updated POTFILES.skip

10 years agoUpdated Finnish translation
Jiri Grönroos [Sun, 13 Mar 2016 14:47:41 +0000 (14:47 +0000)]
Updated Finnish translation

10 years agostack switcher: Support switching during DND
Matthias Clasen [Sun, 13 Mar 2016 05:11:52 +0000 (00:11 -0500)]
stack switcher: Support switching during DND

GtkNotebook will switch pages if you hover over a tab
during DND. The same makes sense in GtkStackSwitcher,
so implement it here.

10 years agoUpdated Slovenian translation
Matej Urbančič [Sat, 12 Mar 2016 21:06:02 +0000 (22:06 +0100)]
Updated Slovenian translation

10 years agoAdwaita: some more selector housekeeping
Lapo Calamandrei [Sat, 12 Mar 2016 18:35:56 +0000 (19:35 +0100)]
Adwaita: some more selector housekeeping

10 years agoAdwaita: smarter scss extentions for titlebuttons
Lapo Calamandrei [Sat, 12 Mar 2016 18:32:42 +0000 (19:32 +0100)]
Adwaita: smarter scss extentions for titlebuttons

10 years agoAdwaita: smarter scss extentions on the notebook
Lapo Calamandrei [Sat, 12 Mar 2016 18:25:46 +0000 (19:25 +0100)]
Adwaita: smarter scss extentions on the notebook

avoiding spawning unneeded selectors.

10 years agoAdwaita: fix notebook overflow arrows styling
Lapo Calamandrei [Sat, 12 Mar 2016 18:02:48 +0000 (19:02 +0100)]
Adwaita: fix notebook overflow arrows styling

which correctly go :active now, istead of :checked as in the past.

10 years agoAdwaita: set back drag hilight color to black
Lapo Calamandrei [Sat, 12 Mar 2016 14:27:53 +0000 (15:27 +0100)]
Adwaita: set back drag hilight color to black

...I erroneusly pushed a test green there, this will probably
change again, but that green wasn't right.

10 years agoAdwaita: textview drag hilight
Lapo Calamandrei [Sat, 12 Mar 2016 14:22:35 +0000 (15:22 +0100)]
Adwaita: textview drag hilight

10 years agoAdwaita: scss cosmetic fixed
Lapo Calamandrei [Sat, 12 Mar 2016 14:03:07 +0000 (15:03 +0100)]
Adwaita: scss cosmetic fixed

10 years agoAdwaita: reset filechooserbutton:drop(active)
Lapo Calamandrei [Sat, 12 Mar 2016 13:21:01 +0000 (14:21 +0100)]
Adwaita: reset filechooserbutton:drop(active)

10 years agoUpdated Galician translation
Fran Dieguez [Sat, 12 Mar 2016 12:57:00 +0000 (12:57 +0000)]
Updated Galician translation

10 years agoUpdated Galician translation
Fran Dieguez [Sat, 12 Mar 2016 12:55:28 +0000 (12:55 +0000)]
Updated Galician translation

10 years agoUpdated Czech translation
Marek Černocký [Sat, 12 Mar 2016 12:33:35 +0000 (13:33 +0100)]
Updated Czech translation

10 years agoGDK W32: Fix a typo
Руслан Ижбулатов [Sat, 12 Mar 2016 12:14:04 +0000 (12:14 +0000)]
GDK W32: Fix a typo

10 years agocolor editor: Improve popup positioning
Matthias Clasen [Sat, 12 Mar 2016 03:44:17 +0000 (22:44 -0500)]
color editor: Improve popup positioning

Don't make the popup follow the slider while it is open; that
makes interaction with it unnecessarily hard. Also move all the
popups inwards a little bit, so they are not flush with the
scales, which looks untidy.

https://bugzilla.gnome.org/show_bug.cgi?id=763380

10 years agoscrolled window: Fix scrollbar size allocation
Matthias Clasen [Sat, 12 Mar 2016 02:40:02 +0000 (21:40 -0500)]
scrolled window: Fix scrollbar size allocation

We were not taking the scrollable borders into account when
requesting size for the scrolled window, which could lead
to underallocating the scrollbars at size allocation time
when we *did* take the borders into account.

This is most notable with treeviews, where we have the
headers as borders, and was causing the treeview-crash-too-wide
reftest to fail.

10 years agofile chooser button: Set a CSS name
Matthias Clasen [Fri, 11 Mar 2016 23:30:36 +0000 (18:30 -0500)]
file chooser button: Set a CSS name

This lets us differentiate the main node from regular boxes.

10 years agoTrivial formatting fix
Matthias Clasen [Fri, 11 Mar 2016 23:30:14 +0000 (18:30 -0500)]
Trivial formatting fix

10 years agoUpdated Czech translation
Marek Černocký [Fri, 11 Mar 2016 22:08:07 +0000 (23:08 +0100)]
Updated Czech translation

10 years agoFix the textview-margins reftest
Matthias Clasen [Fri, 11 Mar 2016 21:46:52 +0000 (16:46 -0500)]
Fix the textview-margins reftest

This test has a word that wouldn't fit in the room we have with
a window width of 100, and then we get clipped in the one case
but not the other. Make the window a little wider, so it fits.

10 years agoFix a typo
Matthias Clasen [Fri, 11 Mar 2016 21:38:41 +0000 (16:38 -0500)]
Fix a typo

We don't want to get the padding twice.

10 years agoinspector: Reset the treewalk when required
Matthias Clasen [Fri, 11 Mar 2016 18:52:36 +0000 (13:52 -0500)]
inspector: Reset the treewalk when required

The tree walk holds a tree iter, which will become invalid
when we either remove the row that it points to or remove
all rows.

Reset the tree walk in those cases to avoid a crash that
was pointed out by Bastien Nocera.

10 years agoinspector: Add api to get the current tree walk position
Matthias Clasen [Fri, 11 Mar 2016 18:52:09 +0000 (13:52 -0500)]
inspector: Add api to get the current tree walk position

This will be used in the next commit.

10 years agotypo fix
Matthias Clasen [Fri, 11 Mar 2016 17:29:51 +0000 (12:29 -0500)]
typo fix

10 years agoUpdate Catalan translation
Jordi Mas [Fri, 11 Mar 2016 18:43:33 +0000 (19:43 +0100)]
Update Catalan translation

10 years agorange: Fix a few typos
Timm Bäder [Fri, 11 Mar 2016 18:14:19 +0000 (19:14 +0100)]
range: Fix a few typos

Depreacated -> Deprecated
through -> trough

10 years agotextview: Fix drag highlight problems
Sebastien Lafargue [Fri, 11 Mar 2016 18:09:06 +0000 (19:09 +0100)]
textview: Fix drag highlight problems

10 years agoUpdated Polish translation
Piotr Drąg [Fri, 11 Mar 2016 17:30:18 +0000 (18:30 +0100)]
Updated Polish translation

10 years agoBetter debug messages for actions
Matthias Clasen [Fri, 11 Mar 2016 17:19:47 +0000 (12:19 -0500)]
Better debug messages for actions

Unify the debug messages between actionhelper and menutracker,
and add some more context to some of them.

10 years agoUpdated Slovak translation
Dušan Kazik [Fri, 11 Mar 2016 17:09:01 +0000 (17:09 +0000)]
Updated Slovak translation

10 years agoAdwaita: set a min-width on horizontal spinbutton entry
Lapo Calamandrei [Fri, 11 Mar 2016 17:02:37 +0000 (18:02 +0100)]
Adwaita: set a min-width on horizontal spinbutton entry

to accomodate at least 3 chars, before overflowing.

10 years agoAdwaita: rounded corners for colorscale popup
Lapo Calamandrei [Fri, 11 Mar 2016 17:01:36 +0000 (18:01 +0100)]
Adwaita: rounded corners for colorscale popup

10 years agoinspector: Widgets update automatically when CSS changes
Benjamin Otte [Tue, 8 Mar 2016 00:47:33 +0000 (01:47 +0100)]
inspector: Widgets update automatically when CSS changes

There's no need to force-invalidate their CSS.

10 years agocssanimation: Compute progress correctly
Benjamin Otte [Tue, 8 Mar 2016 04:01:33 +0000 (05:01 +0100)]
cssanimation: Compute progress correctly

We were computing the wrong progress, in particular when the iteration
count was non-integer.

Test included.

10 years agocolorscale: Draw a trough
Benjamin Otte [Wed, 9 Mar 2016 16:27:01 +0000 (17:27 +0100)]
colorscale: Draw a trough

Make sure the color info is actually drawn inside the trough.

10 years agoAdwaita: .osd check|radio style
Lapo Calamandrei [Fri, 11 Mar 2016 15:34:30 +0000 (16:34 +0100)]
Adwaita: .osd check|radio style

10 years agoUpdated Spanish translation
Daniel Mustieles [Fri, 11 Mar 2016 15:31:32 +0000 (15:31 +0000)]
Updated Spanish translation

10 years agoadded NSEventTypeMagnify and NSEventTypeRotate for ZOOM and ROTATE gestures
Friedrich Beckmann [Thu, 7 Jan 2016 14:51:31 +0000 (15:51 +0100)]
added NSEventTypeMagnify and NSEventTypeRotate for ZOOM and ROTATE gestures

MacOS provides the NSEventTypeMagnify which is very similar to the
Gtk ZOOM gesture and NSEventTypeRotate which is very similar to the
Gtk Rotate gesture. Those two event sequences are translated to a
sequence of GDK_TOUCHPAD_PINCH events. This sequence is then detected
in the upper gtk layers as Gtk Zoom/Rotate Gestures.

https://bugzilla.gnome.org/show_bug.cgi?id=760276

10 years agoAdwaita: simplify vertically linked entries scss code
Lapo Calamandrei [Fri, 11 Mar 2016 13:56:21 +0000 (14:56 +0100)]
Adwaita: simplify vertically linked entries scss code

10 years agofilechooserbutton: Fix drag highlight problems
Matthias Clasen [Fri, 11 Mar 2016 13:50:38 +0000 (08:50 -0500)]
filechooserbutton: Fix drag highlight problems

This widget is a bit unusual in that it is a box that acts as
the drop target, while the visible content is a child of the box.
Propagate :drop(active) to the child to make the highlight visible.

10 years agoAdwaita: drop active style fixes
Lapo Calamandrei [Fri, 11 Mar 2016 13:42:49 +0000 (14:42 +0100)]
Adwaita: drop active style fixes

taking care of:
* entries
* buttons (misses some linking logic still)
* comboboxes (untested)
* spinbuttons

10 years agocalendar: Fix drag highlight problems
Matthias Clasen [Fri, 11 Mar 2016 13:34:01 +0000 (08:34 -0500)]
calendar: Fix drag highlight problems

Don't propagate :drop(active) to components.

10 years agospinbutton: Fix drag highlight problems
Matthias Clasen [Fri, 11 Mar 2016 13:07:30 +0000 (08:07 -0500)]
spinbutton: Fix drag highlight problems

Don't propagate :drop(active) to the buttons.

10 years agoentry: Fix drag highlight problems
Matthias Clasen [Fri, 11 Mar 2016 13:01:06 +0000 (08:01 -0500)]
entry: Fix drag highlight problems

We don't want drag highlights around icons or progress, so don't
propagate the :drop(active) state to them.

10 years agoUpdated Hebrew translation
Yosef Or Boczko [Fri, 11 Mar 2016 12:47:34 +0000 (14:47 +0200)]
Updated Hebrew translation

10 years agogdk: Don't leak discarded window state event
Jonas Ådahl [Fri, 11 Mar 2016 05:13:31 +0000 (13:13 +0800)]
gdk: Don't leak discarded window state event

When compressing window state events, we didn't free the discarded
event after removing it from the queue, causing us to leak it. This
commit makes sure to free the discarded event after unqueuing it.

https://bugzilla.gnome.org/show_bug.cgi?id=762468

10 years agorange: Fix trough clickability
Matthias Clasen [Fri, 11 Mar 2016 06:27:21 +0000 (01:27 -0500)]
range: Fix trough clickability

We previously considered any click inside the trough if it
hit an area that the slider might cover. Bring this behavior
back; the trough of scales is otherwise just too narrow to
hit easily with a click.

10 years agoUse per-display debug flags for visual debugging
Matthias Clasen [Fri, 11 Mar 2016 05:18:54 +0000 (00:18 -0500)]
Use per-display debug flags for visual debugging

10 years agoMake debug flags per-display
Matthias Clasen [Fri, 11 Mar 2016 05:16:35 +0000 (00:16 -0500)]
Make debug flags per-display

Tihs lets us toggle debug flags in the inspector without affecting
the inspector itself.

10 years agoTrivial formatting fix
Matthias Clasen [Fri, 11 Mar 2016 04:17:02 +0000 (23:17 -0500)]
Trivial formatting fix

10 years agoinspector: Add a switch for the layout debug flag
Matthias Clasen [Fri, 11 Mar 2016 05:17:37 +0000 (00:17 -0500)]
inspector: Add a switch for the layout debug flag

10 years agogadget: Show layout
Matthias Clasen [Fri, 11 Mar 2016 04:13:54 +0000 (23:13 -0500)]
gadget: Show layout

When the layout debug key is set, overlay boxes for the content
and border area of each gadget.

10 years agoAdd a layout debug option
Matthias Clasen [Fri, 11 Mar 2016 04:14:57 +0000 (23:14 -0500)]
Add a layout debug option

This will be used to show box model borders.

10 years agoDocs: Trivial consistency fix
Matthias Clasen [Fri, 11 Mar 2016 04:18:38 +0000 (23:18 -0500)]
Docs: Trivial consistency fix

10 years agoTypo fixes
Matthias Clasen [Fri, 11 Mar 2016 03:46:02 +0000 (22:46 -0500)]
Typo fixes

Fix s/occurence/occurrence in many places.

10 years agoUpdated Serbian translation
Мирослав Николић [Fri, 11 Mar 2016 02:42:36 +0000 (03:42 +0100)]
Updated Serbian translation

10 years agoUpdated Polish translation
Piotr Drąg [Fri, 11 Mar 2016 01:17:05 +0000 (02:17 +0100)]
Updated Polish translation

10 years agoGtkFileChooserEntry: move the cursor after the user chooses a completion from the...
Federico Mena Quintero [Thu, 10 Mar 2016 22:02:56 +0000 (16:02 -0600)]
GtkFileChooserEntry: move the cursor after the user chooses a completion from the list

https://bugzilla.gnome.org/show_bug.cgi?id=756450

10 years agoGtkFileChooserEntry: regenerate the completions if the dir_part changes
Federico Mena Quintero [Thu, 10 Mar 2016 21:05:16 +0000 (15:05 -0600)]
GtkFileChooserEntry: regenerate the completions if the dir_part changes

Consider this bug:

1. Open a file chooser; switch it to $HOME

2. Start typing "~/Dow" with some file that *does* exist in your $HOME

3. Delete the inline-completion selection (e.g. the "nloads" after "~/Down").

4. While you are at "~/Dow_" hit Tab.  No completion will occur.

This happens because of the following.

Say the GtkFileChooserEntry is in the process of loading $HOME,
because _set_base_folder() was called.  If the entry contains no text,
then the FULL_PATH_COLUMN of the file system model will be set to
unprefixed filenames from $HOME, like

  .ssh/
  Documents/
  Downloads/
  somefile.txt

Later we avoid reloading the folder if g_file_equal(old_folder, new_folder).

However, the FULL_PATH_COLUMN gets populated in completion_store_set()
out of the actual filenames that GIO returned, plus the chooser_entry->dir_part.

If the user starts typing "~/Dow" then dir_part changes to "~/", *but*
the folder won't be reloaded since it is also $HOME.  However, the completion
machinery assumes that FULL_PATH_COLUMN will contain prefixed entries like

  ~/.ssh/
  ~/Documents/
  ~/Downloads/
  ~/somefile.txt

So, we add an invariant that chooser_entry->dir_part and
chooser_entry->current_folder_file must change at the same time, and
must not get out of sync:  If any of them changes, then the
completions are regenerated.

10 years agoinspector: Show the frame clock in misc
Matthias Clasen [Thu, 10 Mar 2016 21:21:35 +0000 (16:21 -0500)]
inspector: Show the frame clock in misc

There is no convenient way to get a handle on the frame clock,
otherwise, and the frame clock object is where we show the frame
rate...

10 years agoUpdated German translation
Mario Blättermann [Thu, 10 Mar 2016 18:58:33 +0000 (19:58 +0100)]
Updated German translation

10 years agoUpdated Spanish translation
Daniel Mustieles [Thu, 10 Mar 2016 17:23:24 +0000 (17:23 +0000)]
Updated Spanish translation

10 years agoUpdated Polish translation
Piotr Drąg [Thu, 10 Mar 2016 16:30:11 +0000 (17:30 +0100)]
Updated Polish translation

10 years agoconfigure.ac: bump version
Carlos Soriano [Thu, 10 Mar 2016 15:28:59 +0000 (16:28 +0100)]
configure.ac: bump version

So nautilus and other consumers of the sidebar can use the non
API-broken API of the sidebar.

10 years agoUpdated Brazilian Portuguese translation
Artur Morais [Thu, 10 Mar 2016 14:33:41 +0000 (14:33 +0000)]
Updated Brazilian Portuguese translation

10 years agoUpdated Hungarian translation
Balázs Meskó [Thu, 10 Mar 2016 13:59:55 +0000 (13:59 +0000)]
Updated Hungarian translation

10 years agoGDK W32: Partially rollback the custom resize for GL windows
Руслан Ижбулатов [Wed, 9 Mar 2016 09:50:09 +0000 (09:50 +0000)]
GDK W32: Partially rollback the custom resize for GL windows

If a window is being drawn by OpenGL, we need to apply any
pending resizes to it *before* we paint.

https://bugzilla.gnome.org/show_bug.cgi?id=763287

10 years agoAdwaita: gtkcolorscale styling.
Lapo Calamandrei [Thu, 10 Mar 2016 12:35:08 +0000 (13:35 +0100)]
Adwaita: gtkcolorscale styling.

10 years agoUpdated Serbian translation
Мирослав Николић [Thu, 10 Mar 2016 10:54:39 +0000 (11:54 +0100)]
Updated Serbian translation

10 years agoUpdated Serbian translation
Мирослав Николић [Thu, 10 Mar 2016 10:39:44 +0000 (11:39 +0100)]
Updated Serbian translation

10 years agoUpdated Czech translation
Marek Černocký [Thu, 10 Mar 2016 09:47:04 +0000 (10:47 +0100)]
Updated Czech translation

10 years agoquartz: Get core pointer from device manager
Philip Chimento [Thu, 10 Mar 2016 06:10:04 +0000 (22:10 -0800)]
quartz: Get core pointer from device manager

Some spots missed in the earlier refactor removing core_pointer from
the GdkDisplay struct.

https://bugzilla.gnome.org/show_bug.cgi?id=762820

10 years agowayland: Add request focus support via gtk_shell
Jonas Ådahl [Tue, 8 Mar 2016 09:03:06 +0000 (17:03 +0800)]
wayland: Add request focus support via gtk_shell

A gtk_surface.present request was added to gtk_surface which takes
timestamp from some input event, and uses that timestamp to figure out
whether the window can be presented or not. If we don't have a
timestamp, we should just give up instead of making up our own,
otherwise we might steal someones focus.

https://bugzilla.gnome.org/show_bug.cgi?id=763037

10 years agowayland: Add system bell support via gtk_shell
Jonas Ådahl [Mon, 7 Mar 2016 04:41:31 +0000 (12:41 +0800)]
wayland: Add system bell support via gtk_shell

Invoke the system bell by calling the request added to the gtk_shell
protocol.

https://bugzilla.gnome.org/show_bug.cgi?id=763001

10 years agowayland: Don't invent our own unstable protocol semantics
Jonas Ådahl [Mon, 7 Mar 2016 03:49:35 +0000 (11:49 +0800)]
wayland: Don't invent our own unstable protocol semantics

The gtk_shell protocol used some half baked unstable protocol semantics
that worked by only allowing binding the exact version of the
interface. This hack is a bit too confusing and it makes it impossible
to do any compatible changes without breaking things.

So, instead rename it to include a number in the interface names. This
way we can add requests and events without causing compatibility issues,
and we can later remove requests and events by bumping the number in
the interface names.

https://bugzilla.gnome.org/show_bug.cgi?id=763001

10 years agoinspector: Refine strv editor
Matthias Clasen [Thu, 10 Mar 2016 02:58:38 +0000 (21:58 -0500)]
inspector: Refine strv editor

Put some spacing between the rows, and link the buttons to
the entries they belong to.

10 years agoinspector: Do a better job with readonly properties
Matthias Clasen [Thu, 10 Mar 2016 02:42:08 +0000 (21:42 -0500)]
inspector: Do a better job with readonly properties

Say if they are non-writable or construct-only, and also
gray out construct-only properties in the list.

10 years agoGtkActionable: Improve property names
Matthias Clasen [Thu, 10 Mar 2016 02:13:44 +0000 (21:13 -0500)]
GtkActionable: Improve property names

These names show up as title in the property editor
in the inspector, so we want them to look consistent
with the rest.

10 years agoinspector: Minor refactoring
Matthias Clasen [Thu, 10 Mar 2016 02:01:38 +0000 (21:01 -0500)]
inspector: Minor refactoring

Break out some functions in prop-editor.c

10 years agoinspector: Redo property lists a bit
Matthias Clasen [Thu, 10 Mar 2016 01:55:46 +0000 (20:55 -0500)]
inspector: Redo property lists a bit

Break out value types as a separate column, to make the
value column more readable.